<template>
  <div>{{ title }}({{ count }})</div>
</template>
<script setup lang="jsx">
import { useUserStore } from '@/store'
defineOptions({ name: 'UnauditedCount' })
defineProps({
  title: {
    type: String,
    default: '',
  },
})
const userStore = useUserStore()
const count = computed(() => userStore.unauditedCount)
</script>
<style lang="scss" scoped></style>
